package com.reciver.dto;

import java.util.Map;
import java.util.HashMap;

public class AlarmConfigDto {

	private static Map<String,Integer[]> configValue = new HashMap<>();
	private static Map<String,Integer> initValue = new HashMap<>();
	private static Integer[] spwy = {30,50};//单位mm
	private static Integer[] dmcj = {30,50};//单位mm
	private static Integer[] scspwy = {35,40};//单位mm
	private static Integer[] dxsw = {1000,1500};//单位mm
	private static Integer[] qj = {5,null};//单位°
	static {
		configValue.put("spwy",spwy);
		configValue.put("dmcj",dmcj);
		configValue.put("scspwy",scspwy);
		configValue.put("dxsw",dxsw);
		configValue.put("qj",qj);
		initValue.put("spwy",0);
		initValue.put("dmcj",0);
		initValue.put("scspwy",0);
		initValue.put("dxsw",0);
		initValue.put("qj",0);
	}
	public static Map<String,Integer[]> getConfigValue() {
		return configValue;
	}
	public static void setConfigValue(Map<String,Integer[]> configValue) {
		AlarmConfigDto.configValue = configValue;
	}
	public static Map<String, Integer> getInitValue() {
		return initValue;
	}
	public static void setInitValue(Map<String, Integer> initValue) {
		AlarmConfigDto.initValue = initValue;
	}
}